package com.fowo.api.model.warehouse;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;

/** 仓库 导入导出辅助模型 */
@Data
public class WarehouseExcelPo {
@NotBlank(message = "仓库名称不能为空")
@Size(max = 50, message = "仓库名称长度不能超过20")
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT, dataFormat = 49)
    @ExcelProperty(value = "*仓库名称")
    private String name;

@NotBlank(message = "属性不能为空")
@Size(max = 50, message = "属性长度不能超过20")
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT, dataFormat = 49)
    @ExcelProperty(value = "*属性")
    private String widType;

@Size(max = 50, message = "备注长度不能超过20")
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT, dataFormat = 49)
    @ExcelProperty(value = "备注")
    private String remark;

@Size(max = 50, message = "待检待上架量长度不能超过20")
    @ExcelProperty(value = "待检待上架量")
    private Integer quantityTest;

@Size(max = 50, message = "待到货量长度不能超过20")
    @ExcelProperty(value = "待到货量")
    private Integer quantityAog;

@Size(max = 50, message = "预计总量长度不能超过20")
    @ExcelProperty(value = "预计总量")
    private Integer estimatedTotal;

@Size(max = 50, message = "总量长度不能超过20")
    @ExcelProperty(value = "总量")
    private Integer gross;

@Size(max = 50, message = "费用长度不能超过20")
    @ExcelProperty(value = "费用")
    private Integer cost;

@Size(max = 50, message = "头程长度不能超过20")
    @ExcelProperty(value = "头程")
    private Integer theFirstVessel;

@Size(max = 50, message = "库存成本长度不能超过20")
    @ExcelProperty(value = "库存成本")
    private Integer stockHoldingCost;

@Size(max = 50, message = "总计长度不能超过20")
    @ExcelProperty(value = "总计")
    private Integer total;

}
